#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import sys

sys.path.append("E:/SVN/SGSDK/SGTools/SGAutoPack/autopack_v4_ppl2")
import ManifestParser
gameManifestFile = "E:/gamecopy/AndroidManifest.xml"

#调整资源
def channelCustomOperBegin():
	print("begin , this is default !")
	ManifestParser.delGameMain(gameManifestFile,gameManifestFile)

#恢复资源
def channelCustomOperEnd():
	print("end , this is default !")


if __name__=="__main__":
	if(sys.argv[1] == "begin"):
		channelCustomOperBegin()
	elif(sys.argv[1] == "end"):
		channelCustomOperEnd()
	else:
		raise("call channel custom operation must with param begin or end!")

